import './style.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router/index.js'
import pinia from './store/index.js'
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import components from './components/index.js'
export default {
  install(app) {
    // 组件全局注册
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
      app.component(key, component);
    }

    app.use(ElementPlus).use(router).use(pinia).use(components)
  },
};

